Documentation for class integer

Inherits from 	number 

Properties declared in integer 

Class Methods declared in integer 

Methods declared in integer 
	any 
		as_float 
		is_even 
		is_odd 

Class 
#begin_class
integer 
The class integer is a sub-class of the class number. 
Integers may have a value between -9223372036854775807 and 9223372036854775807. 
(i.e. -(2^63) to 2^63)
Examples of integers are:
23
7654329187625312
#end_class

Properties 

Methods 

#begin_method
as_float 
Returns a float with the value of the integer.
Ex:
x := 34
x:as_float
return 34.0
#end_method

#begin_method
is_even 
Returns true the integer is even. Otherwise the method returns false.
Ex:
x := 2
y := 3
x:is_even
returns true
y:is_even
returns false
#end_method

#begin_method
is_odd 
Returns true the integer is odd. Otherwise the method returns false.
Ex:
x := 2
y := 3
x:is_odd
returns false
y:is_odd
returns true
#end_method

Class Methods